// Every Picture In The Universe 0.1
// Started by Vander 'imerso' Nunes on July 2012
// To contact me: imerso@imersiva.com
//
// Given enough time, generates every possible
// image for a given resolution -- which includes all your
// pictures in the past, present and future, plus
// you playing guitar together with David Gilmour
// on Rock in Rio, etc.
// OK, that may take a few billion years depending
// on the selected image resolution, but hey,
// one day that will happen -- hmm well, I guess.
//
// license: http://opensource.org/licenses/lgpl-2.1
//
// Although it seems like the program is just
// randomizing pixels, this is definitely not
// the case. A linear loop is too boring,
// so I'm trying to create alternative ways
// of permute color combinations in more
// interesting ways. Some may be buggy at
// first, but eventually this will combine
// using interesting, dynamic patterns
// until something meaninful happens.
//
// Hope you get the idea.
//
// most obvious enhancements:
//
// - a start dialog to select options
// - mono and grayscale support (for way faster permutations)
// - a time control to skip directly to a given time
// - pause the simulation
// - save both the 'time' and the generated image.

#ifndef __GAME_H_

	#define __GAME_H_

	void							Draw();													// next frame tick
	LRESULT CALLBACK				WndProc(HWND hWnd, UINT uMessage, WPARAM wParam, LPARAM lParam);

	// Global engine objects
	CScreen						g_Scr;													// screen

	int							g_Idx;
	int*						g_Order;
	int							g_Size;

#endif //__GAME_H_
